public class Login {
	private String user;
	private String password;

	public Login(String user, String password) {
		this.user = user;
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public String getUser() {
		return user;
	}
	
	public boolean match(Login login){
		if (!user.equals(login.getUser())) return false;
		if (!password.equals(login.getPassword())) return false;
		return true;
	}

}
